package hs.kr.mirim;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Cheonjamun_projectActivity extends Activity {
 
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        init();
    }

	private void init() {
		Button btn_one = (Button)findViewById(R.id.btn_one);
		btn_one.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent intent1=new Intent(getApplicationContext(),Activity_one.class);
				startActivity(intent1);
				
			}
		});
		
		Button btn_four = (Button)findViewById(R.id.btn_four);
		btn_four.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent intent2=new Intent(getApplicationContext(),Activity_four.class);
				startActivity(intent2);
				
			}
		});
		
		Button btn_exit = (Button)findViewById(R.id.btn_exit);
		btn_exit.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				System.exit(0);
				
			}
		});
		
	}
}